//#include <cstdlib>
//#include <cstdio>
//void system_pause(void)
//{
//#ifdef _WIN32
//    system("pause");
//#else
//    puts("Press any key to continue...");
//    system("stty raw");
//    getchar();
//    system("stty cooked");
//#endif
//}
//
//#include "serversocket_linux.h"
//#include "http/request.hpp"
//#include "http/reply.hpp"
//
//class server_handler
//{
//public:
//    void on_socket_accept(commontcp::server::session<server_handler> &session)
//    {
//
//    }
//    void on_socket_read(commontcp::server::session<server_handler> &session, const char *buffer, int size)
//    {
//
//    }
//    void on_socket_close(commontcp::server::session<server_handler> &session)
//    {
//
//    }
//};
//
//
//int main()
//{
//    WSADATA wsaData;
//    WSAStartup(MAKEWORD(1, 1), &wsaData);
//
//    base_library::log::logger logger(base_library::log::logger::get_app_path()+"log/monitor.log");
//
//    logger<<base_library::log::logger::begin()<<"monitor logic server start"<<base_library::log::logger::end();
//
//    //session_handler handler;
//    //handler.set_trace_mod(&logger);
//    //commontcp::client::client<session_handler> client(&handler);
//    //client.set_trace_mod(&logger);
//    //client.connect("117.135.132.61",3306,3000);
//
//    //system_pause();
//
//    //connection_handler handler1;
//    //handler1.set_trace_mod(&logger);
//    //commontcp::blockclient::connection<connection_handler>      connection("117.135.132.61",3306,&handler1);
//    //connection.connect(3);
//
//    {
//        server_handler handler;
//        commontcp::server::server<server_handler> server(&logger);
//		server.set_call_backs(&handler,&server_handler::on_socket_accept,&server_handler::on_socket_read,&server_handler::on_socket_close);
//        server.listen(12345);
//
//        system_pause();
//    }
//
//    system_pause();
//
//    logger<<base_library::log::logger::begin()<<"monitor logic server stopped safty"<<base_library::log::logger::end();
//
//    WSACleanup();
//}
int main()
{
	return 0;
}
